home *** CD-ROM | disk | FTP | other *** search
Text File | 1987-03-10 | 2.0 KB | 59 lines | [TEXT/MSBA] |
- CLS
- CLOSE #1
-
- OPEN "title picture" FOR INPUT AS #1
- title$=INPUT$(LOF(1),#1)
- CLOSE #1
- PICTURE(230,20),title$
- Beginz:
- BUTTON 1,1,"New invoice",(20,25)-(200,45),1
- BUTTON 2,1,"Repeat invoice",(20,55)-(200,75),1
- BUTTON 3,1,"Record payment",(20,85)-(200,105),1
- BUTTON 4,1,"Accounts billed",(20,115)-(200,135),1
- BUTTON 5,1,"Accounts received",(20,145)-(200,165),1
- BUTTON 6,1,"Customer history",(20,175)-(200,195),1
- BUTTON 7,1,"Outstanding",(20,205)-(200,225),1
- BUTTON 8,1,"New customer",(20,235)-(200,255),1
- BUTTON 9,1,"Sales tax",(20,265)-(200,285),1
- BUTTON 10,1,"Quit",(230,265)-(455,285),1
- BUTTON 11,1,"Monthly statement",(230,235)-(455,255),1
- BUTTON 12,1,"Address ...",(230,205)-(455,225),1
- YourChoice:
- WHILE DIALOG(0)<>1:WEND
- Buttonpushed=DIALOG(1)
- IF Buttonpushed=1 THEN LOAD "Invoicer",R
- IF Buttonpushed=2 THEN LOAD "RepeatInvcr",R
- IF Buttonpushed=3 THEN LOAD "Payments",R
- IF Buttonpushed=4 THEN LOAD "Accounts Billed",R
- IF Buttonpushed=5 THEN LOAD "Accounts Rec'd",R
- IF Buttonpushed=6 THEN LOAD "CustHist",R
- IF Buttonpushed=7 THEN LOAD "Outstanding",R
- IF Buttonpushed=8 THEN LOAD "NewCust",R
- IF Buttonpushed=9 THEN LOAD "Sales Tax",R
- IF Buttonpushed=10 THEN SYSTEM
- REM Road To Nowhere
- IF Buttonpushed=11 THEN GOTO Where2
- IF Buttonpushed=12 THEN LOAD "Addresser",R
-
- Where2:
- FOR x = 1 TO 12
- BUTTON CLOSE x
- NEXT
- BUTTON 1,1,"monthly activity",(25,50)-(200,100),1
- BUTTON 2,1,"invoices outstanding",(25,120)-(200,170),1
- BUTTON 3,1,"never mind",(25,190)-(200,240),1
- WHILE DIALOG(0)<>1:WEND
- ButtonPushed = DIALOG(1)
- IF ButtonPushed = 1 THEN BUTTON CLOSE 1: BUTTON CLOSE 2: BUTTON CLOSE 3: CLS: LOAD "Statement",R
- IF ButtonPushed = 2 THEN BUTTON CLOSE 1: BUTTON CLOSE 2: BUTTON CLOSE 3: CLS: LOAD "Invoice Statement",R
- IF ButtonPushed = 3 THEN BUTTON CLOSE 1: BUTTON CLOSE 2: BUTTON CLOSE 3: GOTO Beginz
-
-
- STOP
-
-
-
-
-
-
-